﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace ESSManageService.Model.DBModels.Info
{
    [SugarTable("Training_Marker_Info", tableDescription: "培训文件信息")]
    public class FileInfo
    {
        /// <summary>
		/// 主键id
		/// <summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "id", IsIdentity = true)]
        public long id { get; set; }

        /// <summary>
        /// 文件名称
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_name { get; set; }

        /// <summary>
        /// 文件类型
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_type { get; set; }

        /// <summary>
        /// 文件地址
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_path { get; set; }

        /// <summary>
        /// 文件备注
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_remark { get; set; }

        /// <summary>
        /// 用户文件信息
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string fileuser_info { get; set; }

        /// <summary>
        /// 文件状态(0-弃用,1-正常) 
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_state { get; set; }

        /// <summary>
        /// 文件大小(单位字节)
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public int file_size { get; set; }

        /// <summary>
        /// 文件唯一标识
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_uuid { get; set; }

        /// <summary>
        /// 文件hash值
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string file_hash { get; set; }
    }
}
